package com.coocaa.typhoon.api.v1;

import com.coocaa.cirrus.common.base.model.RespBase;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author bijiahao
 * @description
 * @date 2019/12/17 17:20
 */
@RestController
public class HealthController {
    /**
     * 健康检查接口
     *
     * @return
     */
    @RequestMapping(value = "/healthz", method = RequestMethod.GET)
    public RespBase healthz() {
        return new RespBase().setSuccessResult();
    }
}
